package com.findFish.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.findFish.common.annotation.Excel;
import com.findFish.common.core.domain.BaseEntity;

/**
 * 机器鱼运动轨迹对象 robot_fish_trajectory
 * 
 * @author admin
 * @date 2025-03-31
 */
public class RobotFishTrajectory extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 运动轨迹ID */
    private Long id;

    /** 机器鱼ID */
    @Excel(name = "机器鱼ID")
    private Long robotFishId;

    /** 时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date timestamp;

    /** 纬度 */
    @Excel(name = "纬度")
    private BigDecimal latitude;

    /** 经度 */
    @Excel(name = "经度")
    private BigDecimal longitude;

    /** 速度 */
    @Excel(name = "速度")
    private BigDecimal speed;

    /** 深度 */
    @Excel(name = "深度")
    private BigDecimal depth;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setRobotFishId(Long robotFishId) 
    {
        this.robotFishId = robotFishId;
    }

    public Long getRobotFishId() 
    {
        return robotFishId;
    }

    public void setTimestamp(Date timestamp) 
    {
        this.timestamp = timestamp;
    }

    public Date getTimestamp() 
    {
        return timestamp;
    }

    public void setLatitude(BigDecimal latitude) 
    {
        this.latitude = latitude;
    }

    public BigDecimal getLatitude() 
    {
        return latitude;
    }

    public void setLongitude(BigDecimal longitude) 
    {
        this.longitude = longitude;
    }

    public BigDecimal getLongitude() 
    {
        return longitude;
    }

    public void setSpeed(BigDecimal speed) 
    {
        this.speed = speed;
    }

    public BigDecimal getSpeed() 
    {
        return speed;
    }

    public void setDepth(BigDecimal depth) 
    {
        this.depth = depth;
    }

    public BigDecimal getDepth() 
    {
        return depth;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("robotFishId", getRobotFishId())
            .append("timestamp", getTimestamp())
            .append("latitude", getLatitude())
            .append("longitude", getLongitude())
            .append("speed", getSpeed())
            .append("depth", getDepth())
            .toString();
    }
}
